<!DOCTYPE html>
<html lang="zh">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
    <title>公司信息</title>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="default">
    <script src="/statics/js/custom/lib.js?_V=1"></script>
    <link rel="stylesheet" type="text/css" href="/statics/css/home.css?v=1">
    <link rel="stylesheet" href="/statics/css/company/detail.css?_v=1">
    <style>
        .hong {
            color: red;
        }

        .lv {
            color: green;
        }
    </style>
</head>

<body ng-app="">
<div class="lyear-layout-web">
    <div class="lyear-layout-container">
        <!--左侧导航-->
        <ng-include src="'/admin/common/sidebar.html'"></ng-include>
        <!--End 左侧导航-->
        <!--头部信息-->
        <ng-include src="'/admin/common/header.html'"></ng-include>
        <!--End 头部信息-->

        <!--页面主要内容-->
        <main class="lyear-layout-content">
            <div class="container-fluid p-t-55">
                <!--修改-->
                <div class="modal fade bs-example-modal-lg" id="updateDiv" tabindex="-1" role="dialog"
                     aria-labelledby="myLargeModalLabel" data-backdrop="static">
                    <div class="modal-dialog modal-lg" role="document">
                        <div class="modal-content">
                            <div class="modal-header">
                                <h6 class="modal-title" id="myModalLabel">修改</h6>
                                <div class="float-right">
                                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                        <span aria-hidden="true">&times;</span>
                                    </button>
                                </div>
                            </div>
                            <div class="modal-body">
                                <form action="" id="cmpupdate">
                                    <input type="hidden" name="lastModifyTime" value="">
                                    <input type="hidden" name="id" value="">
                                    <div class="form-group col-md-12">
                                        <label for="name">公司名称</label>
                                        <input type="text" class="form-control" disabled id="name" name="name" placeholder="请输入公司名称"/>
                                    </div>
                                    <div class="form-group col-md-12 mx_validator">
                                        <label for="shortName">公司简称</label>
                                        <input type="text" class="form-control mx_custom"
                                               mx_required_msg="" id="shortName" name="shortName" value=""
                                               placeholder="请输入公司简称"/>
                                    </div>
                                    <div class="form-group col-md-12 mx_validator">
                                        <label for="address">公司地址</label><span class="required">* </span>
                                        <input type="text" class="form-control mx_required mx_custom"
                                               mx_required_msg="公司地址不能为空" id="address" name="address" value=""
                                               placeholder="请输入公司地址"/>
                                    </div>
                                    <div class="form-group col-md-12 mx_validator">
                                        <label for="contact">联系人</label><span class="required">* </span>
                                        <input type="text" class="form-control mx_required mx_custom"
                                               mx_required_msg="联系人不能为空" id="contact" name="contact" value=""
                                               placeholder="请输入联系人"/>
                                    </div>
                                    <div class="form-group col-md-12 mx_validator">
                                        <label for="tel">联系电话</label><span class="required">* </span>
                                        <input type="text" class="form-control mx_required mx_custom"
                                               mx_required_msg="联系电话不能为空" id="tel" name="tel" value=""
                                               placeholder="请输入联系电话"/>
                                    </div>
                                    <div class="form-group col-md-12 mx_validator">
                                        <label for="remark">备注</label>
                                        <textarea class="form-control mx_custom" mx_required_msg=""
                                                  id="remark" name="remark" placeholder="请输入备注"></textarea>
                                    </div>
                                </form>
                            </div>
                            <div class="modal-footer">
                                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                                <button type="button" class="btn btn-primary mx_validator_button" id="submit">保存
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-lg-12">
                        <div class="card">
                            <div class="card-body pt-0">
                                <header class="card-header d-block pr-0 pl-0">
                                    <div class="card-title">公司详情</div>
                                </header>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="row baseData">
                    <div class="col-md-6 p-lg-0">
                        <div class="col-lg-12">
                            <div class="card">
                                <div class="card-body pt-0">
                                    <header class="card-header pr-0 pl-0">
                                        <div class="header-1">
                                            <i class="fa fa-id-card-o"></i>
                                            <div class="card-title p-l-10 font-s1">基本信息</div>
                                        </div>
                                        <div class="ibox-tool">
                                            <div class="btn btn-primary0 btn-sm btn_dif_function" id="openUpdate"
                                                 data-toggle="modal" data-target="#updateDiv"><i class="fa fa-edit"></i>修改</div>
                                        </div>
                                    </header>
                                    <div class="list-group-all" style="height: 319px">
                                        <ul class="list-group ">
                                            <li href="#!" class="border-top first-border">
                                                <span class="f-r p-r-10">
                                                    <span name="name" class="mx_html"></span>
                                                    <span class="m-l-xs text-danger font-bold">简称：
                                                        <span name="shortName" class="mx_html"></span>
                                                    </span>
                                                </span>
                                                <b>单位名称</b>
                                            </li>
                                            <li href="#!" class="border-top">
                                                <span class="f-r p-r-10 mx_html" name="address"> </span>
                                                <b>养殖场地址</b>
                                            </li>
                                            <li href="#!" class="border-top">
                                                <span class="f-r p-r-10 mx_html" name="contact"></span>
                                                <b>联系人</b>
                                            </li>
                                            <li href="#!" class="border-top">
                                                <span class="f-r p-r-10 mx_html" name="tel"></span>
                                                <b>联系电话</b>
                                            </li>
                                            <li href="#!" class="border-top">
                                                <span class="f-r p-r-10 mx_html numberCast" id="status"></span>
                                                <b>状态</b>
                                            </li>
                                            <li href="#!" class="border-top">
                                                <span class="f-r p-r-10 mx_html" name="remark"></span>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6 numData">
                        <div class="card">
                            <div class="card-body pt-0">
                                <header class="card-header pr-0 pl-0">
                                    <div class="header-1">
                                        <i class="fa fa-pie-chart"></i>
                                        <div class="card-title p-l-10 font-s1" style="line-height: 30.63px">数据汇总</div>
                                    </div>
                                </header>
                                <div class="row" style="justify-content: space-between;height: 319px">
                                    <div class="col-md-6">
                                        <div class="widget widget2 style1 navy-bg">
                                            <div class="row">
                                                <div class="col-md-4 widget3">
                                                    <i class="fa fa-4x fa-sitemap"></i>
                                                </div>
                                                <div class="col-md-8 text-right widget4">
                                                    <span>车间</span>
                                                    <h3 class="font-bold mx_html" name="workshopNum"></h3>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="widget widget2 style1 navy-bg">
                                            <div class="row">
                                                <div class="col-md-4 widget3">
                                                    <i class="fa fa-4x fa-podcast"></i>
                                                </div>
                                                <div class="col-md-8 text-right widget4">
                                                    <span>设备</span>
                                                    <h3 class="font-bold mx_html" name="stationNum" id="stationNum"></h3>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="widget widget2 style1 navy-bg">
                                            <div class="row">
                                                <div class="col-md-4 widget3">
                                                    <i class="fa fa-4x fa-bullseye"></i>
                                                </div>
                                                <div class="col-md-8 text-right widget4">
                                                    <span>在线</span>
                                                    <h3 class="font-bold mx_html" name="onlineNum" id="onlineNum"></h3>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="widget widget2 style1 navy-bg">
                                            <div class="row">
                                                <div class="col-md-4 widget3">
                                                    <i class="fa fa-4x fa-exclamation-triangle"></i>
                                                </div>
                                                <div class="col-md-8 text-right widget4">
                                                    <span>离线</span>
                                                    <h3 class="font-bold mx_html" name="offlineNum" id="offlineNum"></h3>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="widget widget2 style1 navy-bg">
                                            <div class="row">
                                                <div class="col-md-4 widget3">
                                                    <i class="fa fa-4x fa-bell"></i>
                                                </div>
                                                <div class="col-md-8 text-right widget4">
                                                    <span>报警</span>
                                                    <h3 class="font-bold mx_html" name="alarmNum" id="alarmNum"></h3>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-6">
                                        <div class="widget widget2 style1 navy-bg">
                                            <div class="row">
                                                <div class="col-md-4 widget3">
                                                    <i class="fa fa-4x fa-wrench"></i>
                                                </div>
                                                <div class="col-md-8 text-right widget4">
                                                    <span>控制</span>
                                                    <h3 class="font-bold mx_html" name="controlNum" id="controlNum"></h3>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </main>
        <!--End 页面主要内容-->
    </div>
</div>

<script type="text/javascript" src="/statics/js/apis/company/company.js?v=1"></script>
<script type="text/javascript" src="/statics/js/library/company/detail.js"></script>
</body>
</html>
